package com.shuyu.gsyvideoplayer.listener;

public interface GSYMediaPlayerListener {
    void onPrepared();

    //在on Prepared 中触发的info视频渲染开始
    void onPreparedVideoRenderStartInfo();

    //在on Prepared 中触发的info音频渲染开始
    void onPreparedAudioRenderStartInfo();

    //播放器播放时长回调
    void onMediaPlayerTime(long time);

    void onAutoCompletion();

    void onCompletion();

    void onBufferingUpdate(int percent);

    void onSeekComplete();

    void onError(int what, int extra);

    void onInfo(int what, int extra);

    void onVideoSizeChanged();

    void onBackFullscreen();

    //暂停
    void onVideoPause();

    //恢复播放
    void onVideoResume();
}
